<?php
/**
 * Created by PhpStorm.
 * User: 雷里雷
 * Date: 2019/11/16
 * Time: 17:16
 */

namespace App\Http\Controllers;

use AipImageClassify;

abstract class AipImageClassifyController extends Controller
{
    /** @var \AipImageClassify  */
    protected $aip;

    public function __construct()
    {
        $this->aip = new AipImageClassify(env('BAIDUAI_APP_ID'), env('BAIDUAI_API_KEY'), env('BAIDUAI_SECRET_KEY'));
    }
}